improve cli documentation for questions#754
Merged
jreidinger merged 8 commits intomasterfrom Sep 18, 2023
Merged
Conversation
mvidner
reviewed
Sep 15, 2023
rust/agama-cli/src/commands.rs
Outdated
| /// Questions handling | ||
| /// Configuration for questions that come from installer | ||
| /// | ||
| /// Questions are raised when unexpected situation happen in Installer |
Contributor
There was a problem hiding this comment.
Suggested change
| /// Questions are raised when unexpected situation happen in Installer | |
| /// Questions are raised when an unexpected situation happens in the installer: |
Contributor
There was a problem hiding this comment.
Well unexpected is wrong. It is expected, that's why we have coded a special case for it
Contributor
Author
There was a problem hiding this comment.
yeah, I am not sure what is better word. Maybe "uncommon" or "rare"? not sure
| /// It allows to predefine answers for certain questions to skip | ||
| /// them in interactive mode or change answer in automatic mode. | ||
| /// | ||
| /// For more details and examples see official Agama documentation. |
Contributor
There was a problem hiding this comment.
I'd like to have a more helpful reference here
Contributor
There was a problem hiding this comment.
Contributor
Author
There was a problem hiding this comment.
That is what I am not sure if it will be documented on official suse side or not..and if it will be product specific or not.
Co-authored-by: Martin Vidner <mvidner@suse.cz>
mvidner
reviewed
Sep 18, 2023
mvidner
reviewed
Sep 18, 2023
mvidner
approved these changes
Sep 18, 2023
Contributor
mvidner
left a comment
There was a problem hiding this comment.
I have put the remaining info into the comments
Co-authored-by: Martin Vidner <mvidner@suse.cz>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
There is insufficient documentation of questions CLI.
Solution
Improve it
Testing
Screenshots
Before:
After: